package com.zhr.business.sys.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zhr.business.sys.domain.SysGoods;
import com.zhr.business.sys.vo.SysGoodsVO;
import com.zhr.common.api.Result;

import java.util.Map;

public interface SysGoodsService extends IService<SysGoods> {
    /**
     * 分页获取商品数据
     *
     * @param params 查询参数
     * @return IPage<SysGoodsVO>
     */
    IPage<SysGoodsVO> getList(Map<String, Object> params);

    Result<String> updateGood(SysGoods sysGoods);
}
